package com.unitd.modules.sys.controller;

import com.unitd.frame.sso.annotation.Permission;
import com.unitd.comm.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @desc 动态图标测试演示
 * @filename EchartsController.java
 * @copyright www.unitd.com
 * @author Hudan
 * @version 1.0
 * @date 2017/4/10
 */
@Controller
@RequestMapping("/sys/echarts")
public class EchartsController extends BaseController {

	/**
	 * @desc 显示Echart图标信息
	 * @param model
	 * @return
	 */
	@Permission("sys:echarts:map")
	@RequestMapping("/map")
	public String map(Model model) {

		return "/modules/sys/echarts/map";
	}
}
